package org.jxc.dao;

import org.hibernate.SessionFactory;
import org.jxc.domain.ProductionProduct;
import org.team4.dao.GenericDAO;

public class ProductionProductDAO extends GenericDAO<ProductionProduct> {

	private static final long serialVersionUID = 376038639038947152L;
	private static ProductionProductDAO instance;
	
	public static ProductionProductDAO getInstance(SessionFactory sessionFactory) {
        if(instance == null) {
            instance =  new ProductionProductDAO(sessionFactory);
        }
        return instance;
    }
	
	private ProductionProductDAO(SessionFactory sessionFactory) {
		super(sessionFactory, ProductionProduct.class);
	}
}